home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 12 / Cream of the Crop 12 (Part II) / Cream of the Crop 12 (Part II).iso / OS2 / VD08BIN.ZIP / usr / include / pm / stddialog.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-13  |  984 b   |  56 lines

  1. #ifndef _STDDIALOG_H_
  2. #define _STDDIALOG_H_
  3.  
  4. #ifndef _ACTIONWINDOW_H_
  5. #include <pm/ActionWindow.h>
  6. #endif
  7.  
  8. @interface StdDialog : ActionWindow <Archiving>
  9. {
  10.   ULONG   result;
  11.   BOOL    running;
  12.  
  13.   ULONG   createFlags;
  14. }
  15.  
  16. - initWithId: (ULONG) anId;
  17. - initWithId: (ULONG) anId andFlags: (ULONG) flags;
  18. - loadMenu;
  19. - free;
  20.  
  21. - (ULONG) createFlags;
  22. - setCreateFlags: (ULONG) flags;
  23.  
  24. - updateFrame;
  25.  
  26. - (ULONG) result;
  27.  
  28. - setTitle: (char *) aTitle;
  29.  
  30. - makeKeyAndOrderFront: sender;
  31. - runModalFor: sender;
  32. - dismiss: sender;
  33. - dismissOK: sender;
  34. - (BOOL) running;
  35.  
  36. - centerOnScreen: sender;
  37.  
  38. /*
  39.  * Methods for protocol "Archiving"
  40.  */
  41.  
  42. - awake;
  43. - read: (TypedStream *) aStream;
  44. - write: (TypedStream *) aStream;
  45.  
  46. - createInPMWindow: (HWND) hwnd;
  47.  
  48. - (MRESULT) handleMessage: (ULONG) msg
  49.             withParams: (MPARAM) mp1 and: (MPARAM) mp2;
  50.  
  51. @end
  52.  
  53. MRESULT EXPENTRY __dialogFunction (HWND hwnd,ULONG msg,MPARAM mp1,MPARAM mp2);
  54.  
  55. #endif
  56.